package com.aaa.stock.service;

import com.aaa.entity.Purchase;
import com.aaa.stock.vo.ExamineVo;
import com.aaa.stock.vo.PurchaseDtoVo;
import com.aaa.stock.vo.PurchaseVo;
import com.aaa.vo.Result;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface PurchaseService extends IService<Purchase> {
    Result<IPage<Purchase>> findByAll(Integer currentPage, Integer pageSize, PurchaseVo purchaseVo);


    Result<Boolean>  GetAdd(PurchaseDtoVo purchaseVo);

    Result<IPage<Purchase>> findByAllstatus(Integer currentPage, Integer pageSize, ExamineVo examineVo);

    Result<Boolean> Staging(PurchaseDtoVo purchaseVo);

    Result<Boolean> tjsh(Purchase purchase);

    Result<Boolean> zf(Purchase purchase);

    Result<Boolean> rk(String purchaseId);
}
